package client

import (
	"test_chat/ptotocol"
	_ "test_chat/ptotocol"
)

type Client interface {
	Dial(addr string) error

	Start()
	Close()
	Send(command interface{}) error
	SendName(name string) error
	SendMes(message string) error
	// todo
	InComing() chan ptotocol.MessCmd
}
